/**
 *  *2010-5-23 上午09:46:58  add 
 */
package com.base.myproject.client.tools;

import java.io.Serializable;
import java.util.HashMap;

import com.base.myproject.client.busi.BO.BusiObject;

/**
 * 获得Modeldates
 * 只支持busiObject类型
 * @author Administrator
 *2010-5-23
 * javazgw@gmail.com
 */
public class CommandSyncGetModelDatas extends CommandSync implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5243083434295594710L;

	java.util.List<BusiObject> list = new java.util.LinkedList<BusiObject>();
	HashMap<String,String> hm =new HashMap<String,String >();//放入宏定义
	String sqlname="";//sql定义的名字
	public CommandSyncGetModelDatas()
	{
		commandname="_GETMODELDATAS";
		
	}
	
	public void putmacro(String key,String macro)
	{
		hm.put(key, macro);
	}
	public String getMacro(String key)
	{
		return hm.get(key);
	}

	public java.util.List<BusiObject> getList() {
		return list;
	}

	public void setList(java.util.List<BusiObject> list) {
		this.list = list;
	}

	public String getSqlname() {
		return sqlname;
	}

	public void setSqlname(String sqlname) {
		this.sqlname = sqlname;
	}

	public HashMap<String, String> getHm() {
		return hm;
	}

	public void setHm(HashMap<String, String> hm) {
		this.hm = hm;
	}
	
	
}
